package exception;
/**
 * 自定义异常
 * 通常自定义异常用在符合语法但是不符合业务逻辑问题时的异常。
 * 
 * 自定义异常最重要的就是名字，要做到见名知意
 * 自定义异常实现步骤:
 * 1:定义类名
 * 2:继承Exception(直接或间接继承)
 * 3:提供所有构造方法
 * 4:定义序列化版本号(避免代码出现警告)
 * @author Xiloer
 *
 */
public class IllegalAgeException extends Exception{
	private static final long serialVersionUID = 1L;

	public IllegalAgeException() {
		super();
		// TODO Auto-generated constructor stub
	}

	public IllegalAgeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
		// TODO Auto-generated constructor stub
	}

	public IllegalAgeException(String message, Throwable cause) {
		super(message, cause);
		// TODO Auto-generated constructor stub
	}

	public IllegalAgeException(String message) {
		super(message);
		// TODO Auto-generated constructor stub
	}

	public IllegalAgeException(Throwable cause) {
		super(cause);
		// TODO Auto-generated constructor stub
	}
	
}













